<?php
require ('konf.php');
if (session_id() == '') {
    session_start();
}

?>
<html>
<head>
</head>
<body>
<div id="wrapper">
<?php
require 'pais.php';
?>
<div id="leftcolumn">
<?php
if($SESSION["roll_id"]=1){
echo "<a href='./tellimuse_admin.php'>Tellimuste adminpaneel</a><br>";
echo "<a href='./kasutaja_admin.php'>Kasutajate adminpaneel</a><br>";
} else {
header("Location: index.php");
}
?>
</div>
<div id="rightcolumn">
<?php
 require("korv.php");
 ?>
</div>
</div>
</body>
</html>